Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uppy/provider-views

Package Overview
Dependencies
Maintainers
5
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/provider-views

View library for Uppy remote provider plugins.

  • 3.13.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
159K
decreased by-5.18%
Maintainers
5
Weekly downloads
 
Created
Source

@uppy/provider-views

Uppy logo: a smiling puppy above a pink upwards arrow

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

View library for Uppy remote provider plugins.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

import Plugin from '@uppy/core/lib/plugin'
import { ProviderViews } from '@uppy/provider-views'

class GoogleDrive extends UIPlugin {
  install() {
    this.view = new ProviderViews(this)
    // snip
  }

  onFirstRender() {
    return Promise.all([
      this.provider.fetchPreAuthToken(),
      this.view.getFolder('root'),
    ])
  }

  render(state) {
    return this.view.render(state)
  }
}

Installation

Unless you are creating a custom provider plugin, you do not need to install this.

$ npm install @uppy/provider-views

License

The MIT License.

Keywords

FAQs

Package last updated on 18 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc